<template>
  <el-container>
    <el-aside width="78px"><SideBar/></el-aside>
    <el-container>
      <el-header><TopBar style="-webkit-app-region: drag" /></el-header>
      <el-main style="background-color: #f0f2f5;"><router-view/></el-main>
    </el-container>
  </el-container>
</template>

<script>
import SideBar from './components/SideBar'
import TopBar from './components/TopBar'
export default {
  name: 'App',
  components: {
    SideBar,
    TopBar
  }
}
</script>

<style>
body{
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background-color: #f0f2f5;
  user-select: none;
}

.el-header{
  padding: 0 !important;
}
</style>
